From b65d5b8e61e1e2604d5f5ce3e2ae8a3f2aacc0e5 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 24 Jun 2008 03:56:50 +0000 Subject: [PATCH] Revert mkshort change while Olaf and I figure out what to do about multibyte. --- gpsbabel/mkshort.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gpsbabel/mkshort.c b/gpsbabel/mkshort.c index 1152f5789..f2bb380d4 100644 --- a/gpsbabel/mkshort.c +++ b/gpsbabel/mkshort.c @@ -453,8 +453,9 @@ mkshort(short_handle h, const char *istring) continue; if (hdl->goodchars && (!strchr(hdl->goodchars, tstring[i]))) continue; - if (!isascii(tstring[i])) - continue; +// FIXME(robertl): we need a way to not return partial UTF-8, but this isn't it. +// if (!isascii(tstring[i])) +// continue; *cp++ = tstring[i]; } *cp = 0; -- 2.30.2